package StudyCode.summary.mycollection;

import java.util.ArrayList;
import java.util.List;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CombinesTheElementsOfVariousListsIntoOneList {
	public static <T> List<T> combine(final List<T>... lists) {
		final List<T> list = new ArrayList<T>();

		for (final List<T> inputList : lists) {
			list.addAll(inputList);
		}

		return list;
	}
}
